<div class="panel-group" id="accordion">
	<!-- search group -->
	<div class="panel panel-default group-panel">
		<div class="panel-heading">
			<h4 class="panel-title">
			<a data-toggle="collapse" data-parent="#accordion" href="#groupSection">Find group/page</a>
			</h4>
		</div>
		<div id="groupSection" class="panel-collapse collapse in">
			<div class="panel-body">
				 <?php $this->renderPartial('index/group_form', array('model'=>$model)) ?>
				<img src="<?php echo Yii::app()->theme->baseUrl ?>/img/loading.gif" alt="Loading..." class="loading" style="display: none" />
				<div id="groupGrid"></div>
			</div>
		</div>
	</div>
	
	<!-- search people -->
	<div class="panel panel-default people-panel">
		<div class="panel-heading">
			<h4 class="panel-title">
			<a data-toggle="collapse" data-parent="#accordion" href="#peopleSection">Find people in group/page</a>
			</h4>
		</div>
		<div id="peopleSection" class="panel-collapse collapse">
			<div class="panel-body">
				 <?php $this->renderPartial('index/people_form', array('model'=>$model)) ?>
				<img src="<?php echo Yii::app()->theme->baseUrl ?>/img/loading.gif" alt="Loading..." class="loading" style="display: none" />
				<div id="peopleGrid"></div>
			</div>
		</div>
	</div>
</div>

<script>
//<![CDATA[
window.baseUrl = '<?php echo Yii::app()->baseUrl ?>';
//]]>
</script>

